package lab02.test12;

public class Rectangular extends Shape {
    Rectangular(){}

    @Override
    double area() {
        return length*width;
    }

    @Override
    double perimeter() {
        return (length+width)*2;
    }
}
